/**
 * 
 */
package com.topiter.dal.dao.impl;

import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.stereotype.Repository;

import com.topiter.dal.dao.PostDao;
import com.topiter.entity.Post;

/**
 * @author HowardLi
 * 
 */
@Repository
public class PostDaoImpl extends SqlSessionDaoSupport implements PostDao {

	public Post getBlog(Long id) {
		return (Post) getSqlSession().selectOne("Blog.getBlog", id);
	}
}
